package com.liuyuan.service;

import com.liuyuan.pojo.News;

import java.util.List;

public interface NewsService {

    News getNewsById(int id);
    List <News> getAllNews();
    int insertNews(News news);
    int updateNews(News news);
    int deleteNews(int id);
}
